#pragma once

#include "include_clfft.h"

struct CL_ContextAndCommandQueue
{
	static CL_ContextAndCommandQueue Empty;
	cl_context cl_dev_context;
	cl_command_queue cl_queue;
};

class clContextHelper
{
public:
	static CL_ContextAndCommandQueue CreateContext();
};

class clFftHelper
{
private:
	static clFftHelper*	ptrInstance;
	static std::once_flag clFftHelerCallOnceFlag;
public:
	static clFftHelper* GetInstance();

	CL_ContextAndCommandQueue CreateContext();
private:
	clFftHelper(bool& wasSuccessfull);


	

};